package cn.hcbycloud.auth.model;

import cn.hcbycloud.common.mysql.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色表
 *
 * @author gaoheng
 * @date 2022-01-22 00:22:15
 */
@Data
@TableName("tb_uaa_role")
@EqualsAndHashCode(callSuper = true)
public class Role extends BaseModel<Role> {
    private static final long serialVersionUID=1L;

        
    /**
     * 角色编码
     */
    @TableField("role_code")
    private String roleCode;
        
    /**
     * 角色名称
     */
    @TableField("role_name")
    private String roleName;
        
    /**
     * 租户ID
     */
    @TableField("tenant_id")
    private String tenantId;
                
}
